package com.galina.notebook.persistence;

import java.io.Serializable;

import javax.persistence.Embeddable;

import com.galina.notebook.persistence.enums.TelephoneType;


@Embeddable
public class Telephone implements Serializable {

	private static final long serialVersionUID = -7310020764565929L;
	
	String number;
	String operator;
	TelephoneType type;
	
	public String getNumber() {
		return number;
	}
	public void setNumber(String number) {
		this.number = number;
	}
	public String getOperator() {
		return operator;
	}
	public void setOperator(String operator) {
		this.operator = operator;
	}
	public TelephoneType getType() {
		return type;
	}
	public void setType(TelephoneType type) {
		this.type = type;
	}
}
